package Controller;

import Backend.GeneralDatabase;
import Entitys.DiseaseItem;
import Utilites.Log.SimpleLogger;
import view.Interface.window.PublicFatherWindow;
import view.MainWindow.UserMainWindow;

public class UserController {
    String username;
    GeneralDatabase database;
    final PublicFatherWindow userWindowOpener;

    public UserController(GeneralDatabase database,String username)
    {
        this.database = database;
        this.username = username;
        this.userWindowOpener = new UserMainWindow(this);
    }
    public String GetUsername() {
        return username;
    }


    public void start(){
        userWindowOpener.open();
    }
}
